package com.gs.zsmanage.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.gs.zsmanage.dao.MonitorSiteMapper;
import com.gs.zsmanage.entity.MonitorSite;
import com.gs.zsmanage.service.MonitorSiteService;

@Service
public class MonitorSiteServiceImpl implements MonitorSiteService {

    @Autowired
    MonitorSiteMapper mapper;
	@Override
	public void addMonitorSite(MonitorSite monitorSite) {
		// TODO Auto-generated method stub
		mapper.addMonitorSite(monitorSite);
	}

	@Override
	public void updateMonitorSite(MonitorSite monitorSite) {
		// TODO Auto-generated method stub
		mapper.updateMonitorSite(monitorSite);
	}

	@Override
	public void deleteMonitorSite(Integer id) {
		// TODO Auto-generated method stub
		mapper.deleteMonitorSite(id);
	}

	@Override
	public List<MonitorSite> getAllMonitorSites() {
		// TODO Auto-generated method stub
		return mapper.getAllMonitorSites();
	}

}
